﻿@model MyNeighbourhood.Models.ParticipantModel

<input type="file" name="Image" id="img" accept="image/*" />
@Html.ValidationMessageFor(x => x.Photo)

<div class="editor-field">
    @Html.TextBoxFor(x => x.Name, new { placeholder = "Name", Name = "Participants[" + Model.Index + "].Name" })
    @Html.ValidationMessageFor(x => x.Name)
</div>

<div class="editor-field">
    @Html.TextBoxFor(x => x.Programme, new { placeholder = "Programme", Name = "Participants[" + Model.Index + "].Programme" })
    @Html.ValidationMessageFor(x => x.Programme)
</div>

<hr style="width:50%" />
